Improve metadata API.
File info returns access according to current uid/gid.

Added file API to return basic info for object on filesystem path.