Therefore, due the reason outlined in the previous comment, I don't think we should be storing the value of ```temp_dir```, especially since we are not using it anywhere else.