Switch all servlets from PrintWriter to OutputStreamWriter

ServletResponse.getWriter() returns a PrintWriter, which has this
helpful tidbit in the Javadoc:

"Methods in this class never throw I/O exceptions, although some of
its constructors may. The client may inquire as to whether any errors
have occurred by invoking checkError()."

I can count the number of times we call checkError() in the Gitiles
codebase on zero hands, nor do I want to start.

Use the perfectly good OutputStreamWriter class instead.

Change-Id: I7c17c65d6bd657bc8dc41a2ddd7a2bda34a58033
5 files changed