xlsx-to-cvs: handle integers

Integers in the spreadsheet were being printed as '3.0' instead of '3'.

Also fix a bug when the output directory already exists.