Fix byte-string-byte conversions with UTF-8 charset.