fixed support for setting permissions properly
Merge branch 'master' of github.com:arusso23/git-hooks