BUG: gswin64c.exe not detected on Windows

Move the try/except statement into the loop in order to continue, not break, the loop when an exception occurs.
Merge pull request #2469 from cgohlke/patch-2

BUG: gswin64c.exe not detected on Windows