Check line endings