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

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