Added method for saving gZipStream