Convert a url into a filepath valid on any OS.