Throw away tmp files if mv fails

Attempt to get rid of stale temp files that occasionally drop. While
there is anecdotal evidence that this doesn't solve the problem, it
doesn't hurt, and it's the only place I can see to fix it.