Write newline on buffer truncation too
Quick hack for colourising log output to stderr/stdout