Don't monkeypatch Nokogiri in 1.9

This monkeypatch doesn't seem necessary in 1.9 - without it everything works, and with it strings lose their encoding.