Bug 194 fix: rewrote convertTreePathToString