Trap exception during writing/printing so that we can reset the working directory.
Trap exception during writing/printing so that we can reset the working directory.

opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core