Fix file-in-directory-p when the directory is UNC