Fix issue when running specs in Ruby 1.8.7.
The YAML implementation in 1.8.7 did not use Psych.