Refactor: remove ^M characters at end of lines.