dir() is returning IO::Path again by default

This reverts commit 82a359d0a2e7df80018f34e6a849fef8136a007a.