Handle non-utf8 stdout and stderr in compiletest.

If a test output non-utf8 to stdout or stderr, compiletest fails.
This modification keep ~[u8] until a convertion is needed.

I need this modification because I'm trying to reactivate `src/test/bench/shootout-mandelbrot.rs` and this benchmark output to stdout an image in binary format.