Made a mistake and commited wrong changes.

The last changes were a mistake and broke the Obj-c wrapper. Sorted
using UTF8String and not deprecated.
Merge pull request #15 from charlierm/master

Swapped deprecated cstring method for utf8 string.