Slave: Fix an error in handoff logic for listeners who disconnect
Clean up sequencing for W3C log files

* Make sure we set the proper flags to append to the log file if we start
  up with an existing one
* Use the callback from our first write to know when we're done opening
* Don't write log lines while we're still opening
Remove an excessive console.log on the slave