Removes a directory.
$directory: The directory to be removed.
protected abstract function removeDirectoryJailed($directory);