Improve facts.yaml generation for Ruby 1.9