make matching changes to gzip