resolves #805 adjust file glob to account for backslash in Windows paths

- additionally, don't glob if path is reachable file
Merge pull request #874 from mojavelinux/issue-805

resolves #805 adjust file glob to account for backslash in Windows paths
change File.exists? to File.exist? in test suite
resolves #806 recognized Windows UNC path as absolute and preserve it