tdb: reset tdb->fd to -1 in tdb_close()