human
Solve the following python programming problem given the following code:
def _close(self) : 
    temp_file_name = temp_file_name.out_file.name 
    self.out_file.close () 
    def change_file_name() : 
        shutil.move (temp_file_name, os.path.join (self.blob_dir, self.blob_hash)) 
        return True 
if (self.blob_hash is not None) : 
        d = threads.deferToThread (change_file_name) 
else : 
        d = defer.succeed (True) 
return d 

    
    

    Fix the buggy line: temp_file_name = temp_file_name.out_file.name
assistant
#Here is Python code to fix the buggy line: temp_file_name = temp_file_name.

temp_file_name = self.out_file.name