Add tests for UTF-8 encoded torrcs on Windows

We need these tests for legacy/trac#25729 (moved).