S3: Allow bucket names to be str.format from digest SHA
Description
This MR adds a feature that allows the S3 bucket names to optionally be templated based on the file digest, using python's str.format()
.
The main motivation behind this is that some implementations of S3 have a maximum number of objects per bucket.