It will make curl fail if a 0 byte is outputted within the text. There are many reasons why this will happen. Software errors, UTF-Encoding, special use cases...
In fact, I run into this problem with grep from time to time and it is super annoying:
> grep somefile.txt stuff
Binary file somefile.txt matches
So this change makes the code base more complex and the behavior fuzzy.I prefer elegant software that behaves predictably.