Add "or_print" handlers for outputs

For when the output file is not a required option. I have a feeling this will be a common request from pyqi developers, and IMHO should be added to the set of pyqi core output handlers