b18499a62d
Avoids allocations and an unnecessary loop (and printf usage, fputs would have been enough). Closes: #401 [via git-merge-pr]