[PATCH v2] selftests: kvm: fix mismatched fclose() after popen()