[Git][ghc/ghc][master] Migrate `ghc-pkg` to use `OsPath` and `file-io`