[njs] Fixed String.prototype.toBytes() for ASCII strings.