Allow TransferSyntaxUID to be set for the compiler.

The default is little endian explicit uncompressed.  If the syntax is
set to NULL, then no meta header will be written at all, and the data
will be written as little endian implicit.