Changes to YAML and metadata.rb to make ruby 1.9.3 happy.

The Ruby YAML parser does not like percent sign in double-quotes -
probably trying to expand it or something.