Creates a directory and returns a file pointing to it.
The created directory.
The path for the directory to be created. Evaluated as per file.
If the path points to an existing file.