Allow a block to be passed to S3Object#read.