docs: def safe_dump(data):
      """
      Dump the provided data to a YAML document and returns a string.
  
      :param data: A string containing an absolute path to the file to parse.
      :return: str
      """
      # TODO(retr0h): Do we need to encode?
      # yaml.dump(data) produces the document as a str object in both python
      # 2 and 3.
      return yaml.dump(
          data, Dumper=SafeDumper, default_flow_style=False, explicit_start=True)