[libvirt] [PATCH] tests: Do not ignore mode parameter in mocked open()