Revert "Be compatible with older versions of File::Path"

This reverts commit 06eb52316452c74ca7698d26a834a8c71a496987.