Use safe_dump when saving charm metadata yaml

Ran into an issue using amulet with Python 2 where a unicode
string crept into the sentry metadata which resulted in a
tagged value that broke on juju-deployer loading the file.