FileStoreBase: pass a FileAttributesFactory as an argument

We want it to tell what attributes are supported.