Write header for only one X error when needed re #4464

SaveAscii already writes just on X error. This change in the header makes it consistent.

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
Merge branch 'feature/4464_ascii_xerror' into develop