Faster pure Ruby implementation of Pathname
