Improve performance of printing strings and binaries.
Improve performance of printing strings and binaries.

It turns out that invoking `fmt::Formatter::write_char` repeatedly is
slower than pushing characters into a buffer and calling
`fmt::Formatter::write_str` once.

gnuvince/ppbert,gnuvince/ppbert