avoid using monkeypatch `Pathname#/`

which was inherited from Homebrew