Tree/Entry.xs: add file_mode() method
Changes: update