Support different line endings