more aggressive strip() to deal with Windows crlf line endings