Convert to s3 path when use aws endpoint For compatibility, we can also use s3 client to access other cloud by setting s3 endpoint properties