Log stdout / stderr on phantomjs exit