Fix tests for Win32

All tests now pass on Win32

Fixed:
* redefined WIFEXITED WEXITSTATUS for Windows
* prevented spurious test passes in t/playback-lines.t
* fixed test failures in t/playback-lines.t by removing use of binmode