Previously export is slow on large number of rows. This fix ensure that sheet.insert_rows is called only once for all rows, instead of insert 1 row for every rows