Fix ZIP export

Durn closures not capturing the filenames by value.
Merge pull request #131 from Muon/master

Fix ZIP export