fix file path operation in TreeDb::RecoverFromSnapshot() and UserDictManager::UpgradeUserDict().