Resolve local path in #composeWith()

Fix #695
RunContext now automatically run in random tmpdir

Fix #696