Also fix rotation of csvlog on Windows.

Backpatch to 9.2, like the previous fix.