Escape URLs in HttpDownloader. fixes #329, #332