Improvements to Cakefile

- Use local versions of commands
- Log process errors
- Report the correct exit code
Merge pull request #100 from davidcornu/fix-cakefile

Improvements to Cakefile