flush IO after each write to a channel
fix indentation
Merge pull request #7 from willbryant/master

Fix distributed nitra if not using another gem that turns buffering off