update safe_yaml for Ruby 2.2. compatibility