mod/resource: hide size of directories