Failing test proving #429
Improve byte/string interactions in debug logging.

Fixes #429
Changelog re #429