[Downloader] Improved escaping of paths