fixed bug where gzip compression was done at level 0 (= no compression!)