Convenience method to covert a file URL into the file path of the directory
A file URL
Rest
An optional list of paths to resolve against the dir path.
A file path based on url and any resolvePaths. With no resolvePaths returns the URL directory path.
url
resolvePaths
Convenience method to covert a file URL into the file path of the directory