Fixed PHP_EOL for windows

This would be my first pull request, so I'd be honored ;)

This would fix the line endings in issue #3