remove a tmp file