Remove tmp file on failed rename (prevent filling disk with tmp files). Refs #7