Get phantomjs temp dir from settings.