scheduler: add basic registry persistence

- Write the current "scheduled" map to a file whenever it mutates
- Load that file when creating a registry