dealing with ugly Windows newlines