[fix] splitlines keeps crlf with string
[enh] tests for windows crlf support