Fixed stream output so that it blocks property pending a drain. Updated README.