Minor changes to Python test harness to allow it to be used on Windows.  Closes #4366

We have some tests for the Raven framework that we want to run on Windows.  There are a couple of small issues that prevent it from running out of the box with the Windows Python distribution.
It appears so--I just tested it on Mac and Ubuntu.  I can change it to that.