[wip] fixes to gzip