Refactored OrderedStreams::_flush function to flush available contents ASAP

This also removed 0.9 version in `travis.yml` since they no longer supports it.