gen_fun::print: allow printing to streams other than cout