Buggy Output.write()

Output.write() has some defects we have to correct:

  • it will fails when self.filepath and filepath are None
  • multiple outputs are not supported without hacking the function call