This reverts commit d9247cc84825539d346c74eb1379c6cb948d3a71. With the Windows tests updated to expect .EXE suffixes. This changed because shutil.which uses PATHEXT which will contain, amongst others, "EXE". Also I noticed the "." in ".exe" was the wildcard dot not literal dot so I've escaped those.