Don't blow up when generating a failure message involving stdout/stderr.

I ran into this while writing some rspec-core specs.