Clean up usage of the default output stream. Fixes issue 1007.
R=blickly