BUG: xlsxwriter was not able to write date and datetime objects