Fix string conversion for python 3

ctypes uses the class method from_param when creating parameter
instances. Thus c_string_p must implement that for the conversion to
work properly.

Fixes issue #2.