CSVWriter: fix enforce numeric values for char arrays
When writing data to a CSV file using vtkCharArray or vtkUnsignedCharArray, it is stored in a non-numerical format, leading to issues when reading the file.
This bug was introduced in !6478 (merged) with a0bd1bb5
Fixes #22682 (closed)
backport: release
Edited by Timothée Couble