Output file as zip archive instead of text file