Explicit YAML require for recent Ruby versions

Hi Michael

It seems that all of the YAML bits break on newish (v2.0.0+) versions of ruby.  This should fix that (I think).