Add support for output streaming using -o option.