RavenDB-2673 Query files on root directory without recursive works as recursive.

This is the first iteration. I will open a new bug for the key unification (as it is not dependent on the bug fix itself).