Fix: Swapping order of dest and src path in enumerating files to zip.
Properly set permissions on executable scripts during zipping.
Add newlines to generated install_from_zip commands to avoid errors.
Merge pull request #885 from jamalex/fix_installer_zipping

A few fixes to get zipped installer working correctly