Fixed bug in zip file generation.