Stop LoggingWriter treating logged data as format strings.

Fixes #279