Make sqlite journaler resiliant when storing log messages which contain
improperly encoded strings.

The troublemaker characters are replaced with "?".