Make directory permissions configurable
Merge pull request #1 from daanemanz/daanemanz/configurable-directory-mode

Make directory permissions configurable