Remove the tmpfile after use.