I'm not well with `OutputStream`, but Apache Commons uses `Writer`: http://trac.assembla.com/ci-samples/browser/java-maven/commons-lang/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java?rev=7#L597