Kernel#exec in JRuby resets the current directory.

For an extraction, I sure make a lot of the same mistakes.