Updated S3Target to allow open('r') for an S3 path.