os/windows/posix.c: ensure that ctime_r() adds a newline