clean up tmpdir on die