When using s3Path this open doesn't properly parse the URI to and S3Path. Using path.open ensures the underlying Path class is opened correctly.
s3Path
path.open
Path