sometimes io.popen fails in osx and -onethread, so this makes sure it fails gracefully and torch can still start
Merge pull request #111 from 2ndforks/master

Small fix for graceful fail of gnuplot with OSX and -onethread