Fix file writer "dir_mod" & "file_mod" options validation exception generation