Catch a different yaml parse error

Same fix from before applies to both errors (unknown escape character
and unexpected end of stream). Fix is encapsulated in the YamlCleaner
class. Ugh.