[PATCH V3 08/19] qemu: Add helper function for creating save image fd