Adding initial solution for multi-file upload

Without this solution, when I would go to upload two attachments to a
new work, then update that work, I would end up with 3 attachments in
the properties. There were only 2 attachments persisted.
Prefer `map` over `collect`.