Fixed Encoding::UndefinedConversionError when writing new workbook