Add Throwable.toString(sink) overload

Add toString(sink) overload to Throwable, so that it can be used without the GC.