Sorry, I do not know if or why the folder is corrupt.So, with that said, is the TMP folder corrupt only in the 3rd case? How come?
I can only guess based on the error message that is generated by your system.
If you clean (not remove) the tmp folder then it may fix the issue.