Better fault tolerance in error reporting test.

Specifically, if the app explodes during the test, process.stderr
is less likely to be permanently clobbered for the rest of the test
run.