Fixup JvmRun  only-write-cmd-line flag to accept relative paths.

Introduce expand_path fs utility and use it on JvmRun.
Add tests for this new util and JvmRun's cmdline-only mode.

https://rbcommons.com/s/twitter/r/908/