Ensure that the target folder is escaped in case of spaces, backslashes etc. Relates to https://github.com/sbt/sbt-less/issues/19

Also back to using the snapshot so that we benefit from a similar fix to the shell source file being passed to the process.