Replace \n with PHP_EOL