fixed file mode (refs #6734)