[enh/fix][porc] Simplify gihp\Tree::getFileObject()

Just do everything in one run. It requires less code, is faster
and fixes errors with Tree::getFileObject('/')
[fix][porc] Fix gihp\Tree::updateFile()
[cs] gihp\Tree::addFile(): Document assignment in if

Makes sure nobody mistakes this assignment for an error.