add fast dos2unix implementation