binary formats: don't write bytestrings in hexadecimal to text fields
(raise a type mismatch error instead)