[Libguestfs] [PATCH 1/9] plugins: Move locking to a new file.