[Libvir] [PATCH] 1/2: Move safewrite and saferead to a separate file.