Reworked getattr()'s handling of normal files