BAZYNGO-1677: include uploaded file indexes in the resource name to
prevent spurious errors when multiple files with the same name are
uploaded, or a single file is uploaded multiple times.