reduce string -> []byte conversion in Write and w.Write([]byte{x})

use io.WriteString(w, str) instead of w.Write([]byte(str))
use writeByte(w, b) instead of w.Write([]byte{b})
5 files changed