dbtables.py:  fix some race conditions in temporary file handling
glue.ligolw:  disallow null row IDs in ID remapping

- found that ligolw_sqlite lobotomizes documents when null IDs are
  encountered.  don't know about ligolw_add.  won't fix at this time, will
  just make this explicitly disallowed in both programs