Add FileInfo class
TreeAttr => FileModes
Safer: Check for non-constness in d-ptr cast