Added utility method to output zipped content to a stream