cache the phantomjs binary file.
exit on error code