Add some utilities for dumping Channel transcripts to a logfile

Summary: These are helpful when debugging Channel stuff, e.g. the SSH repo stuff in Phabricator.

Test Plan: Used these to help debug some issues.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7560