xapian-bridge C port

endlessm/eos-sdk#2463
to be fair, though, the `FILE_MUST_EXIST` check is something that really cannot happen under normal circumstances. the origin of the check was with older revision control system, where check out was not an atomic operation, and a repository could be left in a broken state because of a network problem. I'd just get rid of it.