bin/idl2moose: fix output on STDOUT