add support for sinking to s3 path