switch FileBackedCorpus to SQLite impl