Address deprecation warnings in CloudFilesPublish