io.ligolw: fix method reference bug