Removed if/else from s3_encrypt usage.