Handle gzip and deflate outputs