1.3.8.5 is the last version that doesn't require file-io. We should still support that for the time being.
There's also the precarious situation in file-io testsuite: haskell/file-io#47
I tested locally on my machine and it works for base 4.22 (GHC 9.14). Nevertheless, am running CI here https://github.com/hasufell/directory/actions/runs/21255282477