Handle {prefix} token in s3 URLs.