Fixes issue with flushing non-existent gzip buffers
Please enter the commit message for your changes. Lines starting