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

This reverts commit 691e7f1e83ece37e31b53f0b162b911d602df6a1.