Use persistent.json instead of symlinks. Migrate old symlinks over.

Fixes #19.