Fix ZIP export

Durn closures not capturing the filenames by value. Fixes #114.