Make join not explode over Str type objects.

Fixes RT#120846.