fixed filemodes
Merge pull request #3 from Robert42/issue-fixed-filemodes

fixed filemodes