Deal with editor tmp files