trying to get compress to work for gzip encoding