Creates a directory.
string $directory: The directory to be created.
public final function createDirectory($directory) {
$directory = $this
->fixRemotePath($directory);
$this
->checkPath($directory);
$this
->createDirectoryJailed($directory);
}