Move duplicated code to utils.ts Replace context.globalStorageUri with the HostProvider.globalStorageFsPath. This is part of removing dependencies on the VSCode API fom the codebase except for in platform specific code in src/hosts/vscode and src/extension.ts.