<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _WriteFile(output_path, name, content):
 """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. """

  path = os.path.join(output_path, name)
  with open(path, 'wb') as f:
    f.write(content)
  return path