Change history.txt format.