def _WriteFile(output_path, name, content):
path = os.path.join(output_path, name)<EOL>with open(path, '<STR_LIT:wb>') as f:<EOL><INDENT>f.write(content)<EOL><DEDENT>return path<EOL>
Write given content to a file in a given directory.

    Args:
      output_path: The directory to store the file in.
      name: The name of the file to store the content in.
      content: The content to write to the file.close

    Returns:
      The full path to the written file.