Use octal to set permissions
Merge pull request #27 from artnez/fix-permissions

Use octal to set permissions