rbx and jruby have bugs for Dir.glob