added support for new line characters in UrlDownloader