tmp file cleanup - improve logging