(PUP-3012) Windows fixes for 3.7 PMT upgrade tests

This commit adds fixes to allow the invalid semvser upgrade tests
to run properly on Windows.