Handle dos line ending