Fixed download bug on Windows.