Be safe_string compatible.

As per #89 request.
Can't you replace all that by a judicious use of `String.init` ? It would avoid the `unsafe` call.