Fix problem with decode_legacy test case on Windows.