nmsg/pynmsg: update nmsg.output.open_file, nmsg.output.open_sock to mimic nmsg.input
nmsg/pynmsg: update nmsg.output.open_file, nmsg.output.open_sock to mimic nmsg.input

hstern/nmsg,hstern/nmsg,hstern/nmsg,hstern/nmsg,hstern/nmsg