Posix-compliant file name pattern matching