Code polishing in write_workbook_to_file()