Always end log files with a newline. This makes editing reference
log.json files easier because automatically inserts a new line at
the end of a file when editing.