Common: Simplify StripTailDirSlashes
Merge pull request #707 from lioncash/strip

Common: Simplify StripTailDirSlashes