docs: def dump(self, f):
          """Write Wavefront data to file.  Takes File object or filename."""
          try:
              f.write(self._data)
          except AttributeError:
              with open(f, 'w') as wf:
                  wf.write(self._data)