Only write string in qio_channel_write_string when len > 0
Only write string in qio_channel_write_string when len > 0

Not performing this check caused an assert to fail when an empty string
was written out.

hildeth/chapel,hildeth/chapel,hildeth/chapel,hildeth/chapel,hildeth/chapel,hildeth/chapel,hildeth/chapel