Add newline and flush any string output