Replace single-character string literals with char literals in StreamWriter.Write() calls to improve performance and reduce allocations.