Sanitize writes to FDs (#802)
Sanitize writes to FDs (#802)

* Ensure unicode strings for all test output

On teardown when output is collected to be printed to stdout and stderr,
edge conditions can cause mixed bytes and unicode to be sent to the fd.
Adding several six.ensure_text calls to ensure all output is unicode
before attempting to write to FD.

* Also unicode on stdout and stderr

GoogleCloudPlatform/gsutil,GoogleCloudPlatform/gsutil