rm homebrew-fork extend Pathname#rmdir_if_possible

integrate a modified version into our codebase as a utility method (no longer a monkeypatch)