Fix build.sh mode and line-endings
Merge pull request #67 from ebfe/fix-build

Fix build.sh mode and line-endings
Update create_file to use std::io::FilePermission