Make IO::Path's test environment controlled