Issue #2121849 by moshe weitzman: Move chmod.directory and chmod.file out of config and into settings so that file writes are independant of the config system.