add short-to-full newline splitting
Correctly refer to RFC3339 in func name
use one single write to avoid concurrency issues