SP-1249 - Backport of PDI-5252 - Text File Output does not create header when append option is checked (5.0)