directory: don't put root handle on db_finish.

Suppressing a valgrind definitely leak.