newdb: Handle damaged one-one text tables

Ignore text records in the database that are damaged, instead of erroring
out. Lets the rest of the data be used. Fixes #1215981 [calibre 1.0 can't find database](https://bugs.launchpad.net/calibre/+bug/1215981)
Replace instead of ignoring