fix NPE when downloader encounters unknown content type
Merge pull request #3 from mjq/fix_npe

NPE when downloader encounters unknown content type