Using NanCString instead of NanFromV8String when assigining to std::string.

NanFromV8String returns non-null terminated string by default and would
sometimes corrupt std::string since we are not passing string's size.