Fixed bug in sending out zip files