libfs: allow error return from simple attributes