make csv downloads work on windows