PHP_EOL in string replace on Windows not working