TS-3255: support flush option in gzip plugins