However, as it usually happens with scripts, adding non-coreutils dependencies becomes an issue (now the script needs to check for existence, request users to install if missing, etc...) For this use case which is so well scoped, a single character removal seems enough but in general I totally agree with dos2unix as the better choice.
$ dos2unix file >x
$ mv x file
In my mind, overwriting the file is the Right Thing.Especially because the changes it makes are irreversible (e. g. when a text file has mixed unix/dos line endings).