Easily gzip the contents of attributes when persisting.