Updated code to redownload compressed documents if a decompression failure occurs.