Fix jar entry path expansion (https://github.com/jruby/jruby/issues/321 issue)

This should fix https://github.com/jruby/jruby/issues/321 issue