fix dir listing on jruby