use / instead of . to separate path when calling File.fnmatch?