pub(crate) fn local_path_from_url(url: &Url) -> PathBuf