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 ('').
Merge pull request #2988 from jbeda/yaml-quote

Quote strings in bash populated YAML files.