Improve export CSV on Windows