Propagate Ruby's cwd to Java via Dir.chdir

Ruby.setCurrentDirectory() is responsible for doing the work.
Ignore SecurityException for now. (Though a warning might be
appropriate.)

Fixes #971.