Creates a directory at the given path relative to this file or a specified root directory.
The starting file or the root directory (optional).
The created directory.
The path of the directory to create.