Zip file and new line bug fixes

these changes address:

https://dnanexus.jira.com/browse/PTFM-6838
https://dnanexus.jira.com/browse/PTFM-5830
https://dnanexus.jira.com/browse/PTFM-6886