Invoke `smtk::resource::Metadata::write()` properly.
The signature has changed to require smtk::common::Managers::Ptr
as
a second argument. It is unclear how this compiled properly without
the second argument.
Also, several changes are required to properly pass a reference to
the smtk::common::Managers
instance directly, rather than its
contents.