io.ligolw: handle gzip files
table: reworked to clone glue.ligolw.lsctables