use record.DB to determine if it's a xapian database before removing instead of iamflint because that has changed in later releases
use record.DB to determine if it's a xapian database before removing instead of iamflint because that has changed in later releases

ryanb/xapit