Better fnmatch() function, in Rust