Properly output endline after posting message to cerr to flush contents.