set correct permissions on build artifacts
All files in the Mobius build output have 664 permissions. To use Mobius in Linux, one has to manually do chmod on sparkclr-submit.sh and .exe files (CSharpWorker, samples, examples etc.). Mobius users should not have to do this. We have to take care of this right after build is done or before packaging bits for release.
@kai-zeng - comments?
Shall we always release the one built on Linux?
BTW, since now we always set the modes of.exe files to 755 when we zip the dependencies, so only the mode of sparkclr-submit.sh is a problem.
@kai-zeng - release is now done on AppVeyor. I do not know how easy it is to move that over to Travis.
Will add instructions in M3
Currently, when AppVeyor release spark-clr-*.zip, Build.cmd script uses 7z to generate *.zip in which all files are 644 permission under Linux. However if we generate *.tar file, all files are 755 permission under Linux. Although it behaves a little strange, user would not manually do chmod on sparkclr-submit.sh and .exe files.