Test and fix line endings issue #2133.

Thanks, updated.