introduce descriptor version and total hash for file entities
enable WAL journal mode for repos
vacuum and integrity check maintenance commands