fix translation
a mechanism for primitives with continuations

it's a bit annoying to use, due to the lack of closures in RPython, as
the closed over arguments need to be passed explicitly