Ensuring non-printable character in bytes are shown as hex \x12.