String improvements

`String.fromCharCode.apply` fails on big arrays of bytes so changed it to string building.
Using Buffer I/O operations for strings in Node.js.