ENH: Add line endings check