Update setting s3 file perms to only happen when using s3.