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

def clean(self):

    if (self.name and os.path.exists(self.name)):
        utils.safe_rmdir(self.name)
    self.name = None
