[NCore] Actually save UuidDb to file on stop and on change. Fix #178