def _preprocess_yml(path):
with open(path) as f:<EOL><INDENT>tmp_yaml = f.read()<EOL><DEDENT>return re.sub(r"<STR_LIT>", "<STR_LIT:str>", tmp_yaml)<EOL>
Dynamically create PY3 version of the file by re-writing 'unicode' to 'str'.