Fixed bug corrupting unzipped files