Set history file encoding to utf-8 and file format to csv