Tim,
When you write the messages out from the Error database, you can specify whether to write them as length-encoded (i.e. the first 10-bytes denotes the length of the message, which is what you are seeing) or newline-terminated; the default selection from the Database Administrator GUI is ‘binary length encoded’.