r6592: Throw an IOError exception if tdb_open() or tdb_open_Ex() returns NULL.