Added exception to dir_being written to to catch non-unix use, as a stopgap until actually platform independent.