code: def _WriteFile(output_path, name, content):
    
    path = os.path.join(output_path, name)
    with open(path, 'wb') as f:
      f.write(content)
    return path
docs: 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.