removing unncessary argument from _write_file_ifaces.
removing the DIR argument from the call to _write_file_ifaces.
Merge pull request #9197 from garethgreenaway/develop

removing unncessary argument from _write_file_ifaces.