Create a directory.
Path to file or directory.
true: directory is created successfully. false: path is null, or directory creation fails, or file to be created already exists.