tdb: tdbdump should log errors, and fail in that case.