Use the user's shell to start sbt on unix instead of assuming bash
Run SBT with file.encoding set to UTF-8