Finish fixing issue 6207 (https://bugs.freenetproject.org/view.php?id=6207):
- Introduce a new database format version and write upgrade code for old databases which fixes the breakage caused by the issue.