Adding stream appending util.