Add or update an entry to the builder
Insert a new entry for filename
in the builder with the
given attributes.
if an entry named filename
already exists, its attributes
will be updated with the given ones.
The optional pointer entry_out
can be used to retrieve a
pointer to the newly created/updated entry.
Filename of the entry
Folder attributes of the entry
0 on success; error code otherwise