Adding a check to fail fast if the duration of an Amazon S3 signature is longer than one week