Revert "there seems to be a problem with how Pathname#entries seems to work,"

This reverts commit dd32cb56a1d18be3c503e7672207dbaed589294b.