Added a utility to save a string to gzip file