git-svn: add a generic tree traversal to fetch SVN properties