HPCC-12738 Codegen should not assume Roxie output is always XML

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>