[tor-commits] [tor/maint-0.2.2] Add a function to pull off the final component of a path