@brief removes a directory
`fs.removeDirectoryRecursive(path)`
Removes a directory with all subelements. Throws an exception if the path
is not a directory.