add Stat.S_PERMS constant similar to S_TYPE to isolate permission bits