[Libguestfs] [PATCH 6/9] daemon error handling: clear errors before all functions