Fixed bug on zip files not being closed