Quote strings in bash populated YAML files.

Quoting is hard.  When writing strings into YAML files, wrap them in single quotes.  Also escape any embedded single quotes in those strings via a double signle quote ('').
I think I'll switch to the sed method.  It is ugly but not quite as ugly and I'm pretty sure it won't break in the future.