io.ligolw: fix Kipp's DeprecationWarning