all: use io.ByteWriter now that it exists

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7079043