Fix double close in streaming HTML output

Writer.close() will close the OutputStream it wraps. The try block
will also close the OutputStream. This cause the tail HTML to be
output twice. Unless the servlet container supplies an OutputStream
that throws an exception for any write attempt after close.

Change-Id: Icaec2d284259d6e2f040e141253bc65d39407d55
2 files changed