[libvirt] [PATCH 02/14] secret: Use virFileRewrite instead of replaceFile