fixes installation test on Windows.

This also handles the case where the test/temp directory
does not exist.
Merge pull request #3216 from adobe/dangoor/ext-win-test-fix

fixes installation test on Windows.