Fix cluster resizing when using S3 bucket as a file system