Ignore case when checking file name extensions

If the web server's filename ends in .PDF, this gets carried through and saved as report.PDF, and then the scraper reports "Unknown file type, don't know how to extract text!" This patch makes the comparisons case-insensitive.