Replace \n by PHP_EOL