'Remove the temporary file that was created.
This is also called by the destructor.'

def clean(self):

    if self.fo:
        self.fo.close()
    if (self.name and os.path.exists(self.name)):
        os.remove(self.name)
    self.fd = self.fo = self.name = None
