internal static BinaryWriter CreateBinaryWriter(Stream output)
{
// TODO consider compression:
// - is it supported on .NETCF?
// - is it worth the memory overhead?
// - average race session is < 1MiB
// - what is the average tms compression ratio?
// - is the format likely to change? backwards compatibility is essential
return new BinaryWriter(output, TextEncoding);
}