The VTK based surface writers compare the modification time of the (over-)written file with the old file to detect possible write permission failures. This check does not work properly if the file is written twice within one second, e.g. during a test.
The file modification time check was removed, instead the error handling now uses the ErrorCode variable of the writer which was not checked before.