It seems that `entries`,`new`, and `empty?` do not check NULL characters in methods of `Dir`.
```log
[vagrant@localhost ~]$ ls
test
[vagrant@localhost ~]$ irb
irb(main):001:0> Dir.open("/home/vagrant\0xxx") do |d|
irb(main):002:1* p d.read # => "."
irb(main):003:1> p d.read # => ".."
irb(main)…