Refs #8960 Fix coverity warnings from original SaveAnstoAscii

m_sep is no more, replaced totally by the virtual function sep()

The data writing function has been refactored as that was a lot of redundant code.