title: Create a Zip File in Memory
body: <p>I'm trying to zip a file (for example foo.csv) and upload it to a server.  I have a working version which creates a local copy and then deletes the local copy.  How would I zip a file so I could send it without writing to the hard drive and do it purely in memory?</p>