`stream=open(output, 'w') if output else self.stdout`