dumpInterwiki: Don't use deprecated CdbWriter/CdbException classes

Change-Id: Ic915d5a0531fbe0e966a7afd4e0e1e0c1733dd30