allow the log persister to overwrite the file instead of always only appending