Fix issue of code to peek at the index header not closing the FILE object, which in turn caused SQLite3 modification attempts to fail as READ ONLY.
Merge remote-tracking branch 'sam/hashdb_sqlite' into hashdb_sqlite