Changed call to addFile to ensure that parent directories are not automatically added (results in incorrect directory permissions)
Merge pull request #1 from caps/directory-permissions-bug

Fixed directory permissions bug