xapian-dump: Rewrite to generate C code as output.