fix some file mode bug 755->644
Merge pull request #129 from bronze1man/pr-master-file-mode

fix some file mode bug 755->644 on master branch