Creates a directory.
$directory: The directory to be created.
protected abstract function createDirectoryJailed($directory);