issue 3202 file recurse does not exclude '..' directory

After some fiddling with the issue. I reproduced it via the method I mentioned in the tracker. And fixed it with this patch