FIX: when decoding gzipped content, remove the Content-Encoding: gzip header and replace it with X-Archive-Orig-Encoding