Pass the outer function to wrapGenerator along with the innerFn.

Note to self: this argument will probably need to be null in the async
function case, since the outer function is not actually a generator
function there.