Fixes APLO-308 - Filesystem permissions in released package are broken.

We now explicitly configure the directory and file modes in the assembly.