Prefix search pattern for files listing.

Add upper search limit for sxls.
Check for escaped path for each file (when non-escaped matching failed) to not skip files with special chars within names.
Fix for bb#650.