Bugfix: empty spe and csv files on windows

Not really a fix, more like an ugly hack as I didn't find out what's causing the problem.
So on windows, the problem is circumvented by using xslt, which is quite slow.

Reported by Bart Vekemans