Allow unicode typed objects in Python with S/s formats.  refs #1187.

This is exposed by the subtle difference in Python between 'Hello\u1571' and u'Hello\u1571', or equivalently, unicode('Hello\u1571').  The latter two are of type unicode, which must be converted back to string to allow the SWIG layer to work. This is purely a Python problem.