rework cpuset metatables
rework dirent metamethods