S3 path handling.