Fix for gzip content output properly