updated file caching to check last modified headers 

I updated the file cache so that it will re-download a file if the last modified headers of the cached response and head response match. If there is no last-modified header on the head request, then it also re-downloads the file.