fixed bad escaping for logs

phantom.log wasn't escaping properly text.