string_bytes: write strings using new API

Use new v8 API and also check if string is External before grabbing the
Value.