Parameterize phantomjs tempdir & move out of /tmp