Fix s3 spec for ruby 2