When attempting to upload very many files, curl exits with a fatal
error saying that the argument list is too long. The function
fire_upload_buffer() now uploads files in a loop. Also, define the
curl binary in a variable.