Do not use AlphaNum when string contains comma
Using dash in this context will create a range between `+` and `.` which allows the following characters: `+`, `,`, `-`, `.`.
The ASCII range is as follow: + (43), , (44), - (45), . (46).
Comma is not supported and will then crash in `write()`.
(cherry picked from commit 03e84852b4e8394444eadc71ae3c66c19edf954f)