Change a \n to an endl