I confirmed that it will behave unintentionally when null characters are entered in patterns with `fnmatch`,` fnmatch? `.
```log
$ ruby -v
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin16]
$ irb
irb(main):001:0> require 'pathname'
=> true
# should not be true
irb(main):002:0> File.fnm…