Fix truncation warnings in tree.c, filetree.c

Change-Id: Ic5ae1e5f904a3da4bba07cdef7f4bb003dc091b2
2 files changed