Fix support for ruby 1.9.2 (Psych < 1.3.0)