Back the logger with a QFile

Previously all messages were written to a string which grew unbounded
when logging was disabled.