Format jar path only for adding to shell classpath

This separates the concerns of setting the correct value for
`spark.jars` and of setting the correct classpath for the shell.