curl_upload_file: add `--directory` argument
Allows adding path directory to the composed URL.
bazel run -- :upload --dir one --dir two
bazel run -- :upload --directory one/two
This can be useful to prefix the uploaded file with a CI environment variable:
bazel run -- :upload --dir "${CI_PIPELINE_ID}"
Edited by Matthew Clarkson