This alleviates a performance regression introduced by #16621.
It turned out uploading in chunks is quite a bit slower. In my testing a 42MB file uploaded in 5 seconds using regular upload and 31 seconds using chunks.
Use regular upload when possible and only chunk files when required by Cloudinary's 100 MB limit.
Ironically, files larger than 100 MB will still upload painfully slow. There's nothing to be really done here. There's even this thread on Cloudinary's support forum where they claim that a 1 MB/s upload speeds are "completely normal".
https://support.cloudinary.com/hc/en-us/community/posts/5524874765970/comments/5551989993106