Fix test for test_unicode_open() on Win

Account for empty space lines that Python adds to a multi-line string.