Consistently use response encoding when creating writers

Forgetting to do this was an unfortunate side effect of I7c17c65d,
where we stopped depending on the response's writer.

Change-Id: I5a20907e1ecb4409d18b15a6fa505c562aecff0f
4 files changed