color: ensure that color is reset on a stream

+ mixing stdout and stderr could cause resets to be missed
+ erroneous coloring of messages then ensued