Fixed bug in outputting log2timeline file