(I believe) Pathname is better

This takes advantage of Ruby's Pathname library. This project usually uses Pathname, instead of File/Dir/FileUtils, but these slipped through.