common getattr for dav_(f)getattr