Allow any zip-based file to be uploaded

Detect a zip file rather than looking at the extension.
I optimized the call sequence to avoid cracking open the zip file twice.  Wasn't sure if you want me to remove the openZip method since its a one-liner.