Reimplement all calls to system in a safe wrapper
Update travis.yml