[Git][ghc/ghc][wip/ani/T27156] 7 commits: Migrate `ghc-pkg` to use `OsPath` and `file-io`