Fix newlines so timestamp is on the same line