def write_evt_file(ext_files_dir, name, event):
	"""
	Append event into the evt file of the extension.
	:param ext_files_dir: The 'files' directory of the extension.
	:param name: Name of the evt file
	:param event: The event to append.
	:return:
	"""
	events_dir = ext_files_dir / 'events'
	events_dir.mkdir(parents=True, exist_ok=True)
	with open(events_dir / name, mode='w+', encoding='UTF8') as f:
		return f.writelines([event])