Add new get hash database name functionality and removed some inappropriate tsk_hdb_close() calls.