Check cmd is executable on Windows

Running on a Windows server with IIS, the user might not have access to the cmd.exe application.

In that case, FINDSTR cannot be used to parse files, and process should fallback on PHP Finder.
please use spaces for the indentation