In hashDbIndexPathNat(), setup the index temporarily if it's not already in order to generate a legacy index path.
Merge remote-tracking branch 'sam/hashdb_sqlite' into tags_and_hashes