add support for Proc in S3 storage for s3_options*