Don't display read icons for access-restricted items.

An item is considered as access-restricted if any of its files is private.

Also switcheed from using meta.xml to metadata API.