Add unique persistent IDs for files and channels
Update for modern Julia

- Make Dicts of Int16s into Dicts of Ints, since different integer
  types are no longer interchangeable in Dicts
- min/max -> minimum/maximum as appropriate