Normalize fileMode/directoryMode configuration for assemblies