[GzipStream] workaround for ubuntu karmic bug.