strip more unused methods from homebrew-fork extend/pathname.rb