[PATCH 4/5] virFileRewrite: Allow callback report errors