ruby binary from s3