Fixed setEncoding call of stdout. README updated