provide a copy of the kernel uuid generator (with portable API calls) for
tools.
correct error paths; still need to verify that the "didn't give us back..."
case is correct.