What about :  os.path.join(data_dir.TMP_DIR, self.name)