Fix bug in TxLog handling of null-bytes in log files