fix typo on L264 in write_history_file()

if was missing colon!