in reply to Extract file type from stat() mode

For human readable stringified permissions, use Stat::lsMode.