Replace StringToLocalUTF8 with LocalToString and memcpy to make this binary compatible and update the documentation.