switched to directoryMode to make sure bin has the right perms

do we want to keep this to ensure the targets in the bin/ dir have the executable bits set?