One way is to enable the option "Add header" in the tFileOutputDelimited.
If you need different header names unlike the schema columns you can add the header line simply as first data row. To do that use tUnit:
Here an example:
Take care the tFixedFlowInput is the first flow in the order.