fix yaml_emit_file function

just comment some lines to fix yaml_emit_file function.