dos2unix: apply upstream language patch

Closes #28322.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>