[Libguestfs] [hivex] python: Check type of variable passed into set_value.