Remove drop_last_slash().

drop_last_slash() was added to clean a path name by removing a trailing slash
to make a path to look nicer. This is not needed feature-wise.

This function didn't handle edge cases correctly (for example, "x//").
I want to remove this instead of getting it right.