Make workbook.write() take a callback