This isn't what encoding is for when chunk is a buffer (encoding should be ignored):
  https://github.com/joyent/node/blob/master/lib/_stream_writable.js#L179

Again, I think we're trying to be too smart here. If chunk is a buffer then we probably want to write an inspection of the buffer to the log file (using `util.inspect`)