fix: test: Add missing fclose() when applying updates failed (rpz/testlib)
In rpz system tests, we could leak file if the applying the updates has failed. Add the missing fclose() before returning.
In rpz system tests, we could leak file if the applying the updates has failed. Add the missing fclose() before returning.