cleanup in sqlite.c:track_file