treemerge: precompute path depth
treemerge: added symlink testcase