s3-rpcclient: Check return value of add_string_to_array().