fixed generation of .zip files