Add missing '\n' at the end of output.