Output the data to excel file.