Accept uid and gid in file system factories
Accept additional items in directory factory