I think you can just `Nokogiri::XML(open())` instead of using `Kernel.open`.