Move page/stream result functionality from Perinci-CmdLine