Remove the warning about failing to fetch the content (which was a dead code anyway because the underlying handler die()d when unable to do so), die() if returned content_ref is not a reference to a string (just in case)
Add some paranoid sanity checks
die() if a string to be uncompressed is empty (because no way an empty string is a valid Gzip / Bzip2 archive)
Disable the behavior in which deflation subroutines would just return the invalid (e.g. uncompressed) data instead of reporting the problem; enable strict checking of data that is being deflated
Add unit test which tests inflation / deflation subroutines
When GridFS returns an empty string and that string is supposed to be compressed with Gzip/Bzip2, die() because it means that MongoDB screwed up in some way
When file does not exist on GridFS, don't retry reading it 10 times
Merge branch 'die_on_failed_download'
Merge branch 'master' into RELEASE_20140325