findfiles() broken — #4730. Limit tc scope on win

This tc has multiple problems:

	1. findfiles() doesn't process anything, including regular
	expressions in say, paths, but instead throws the argument back.

	2. "*" is verboten in filenames on Win. Add conditionals
	throughout the tc to avoid processing the last list element
	which contains this character.
Merge pull request #1490 from aappilattoq/master

findfiles() broken — #4730. Limit tc scope on win