Changed \r\n to PHP constant

PHP_EOL can be "\r\n" (on Windows servers) or "\n" (on anything else).
On PHP versions prior 5.4.0RC8, there were a third value possible for
PHP_EOL: "\r"