add __repr__ for PathInfo
implement File.get_status