File permission problems on windows

Permission denied error from zipfile lib when trying to open temporary
file. Fixed
File permission problems on windows (review)

Review comments included on modification to fix file permission errors
in zipfile lib on windows.
Merge pull request #1 from RobMalvern/master

File permission problems on windows