Fix #1236: Implement java.io.PrintWriter.

Fail... can you please add this as a comment. I think people looking at the code would like to know we actually tested this.