Implement wrapper for -safe-string (fixes #93).