Backwards compatibility fix: gzip does not support with in 2.6