Remove lib/pathname.rb and use ext/pathname/lib/pathname.rb as MRI instead