force STDOUT buffer flush on newline