The whole 4096 limit is a bit odd, since in Windows environments the limit is generally 260 chars for the full path length. MSDN - Maximum Path Length Limitation
It should fail with an exceeds max path error. Returning files from a folder other than the one specified, even if that folder is an invalid one, is clearly not desireable.