Code
find . -type f -not -name *.png -exec sed -i 's/\r//' {} \;
This is what mame RPM Fusion package currently uses.