[cdap-597] streamwrite modified to send an empty message