Fixed broken Excel spreadsheet creation for newer Nokogiri versions