Accept generator in writerow
Accept generator in writerow

A generator has not `__len__` attribute, disallowing supplying one in
`Sheet.writerow()`.

This PR makes the for-loop count the number of cells, so the method does
not need to know the number of cells in advance.

mmulqueen/odswriter