title: Python 3.5, ctypes: TypeError: bytes or integer address expected instead of str instance
body: <p>I'm having an issue with ctypes. I think my type conversion is correct and the error isn't making sense to me. 
  Error on line " arg - ct.c_char_p(logfilepath) "
  TypeError: bytes or integer address expected instead of str instance</p>
  
  <p>I tried in both python 3.5 and 3.4.</p>
  
  <p>function i'm calling:</p>
  
  <pre><code>stream_initialize('stream_log.txt')
  </code></pre>
  
  <p>Stream_initialize code"</p>
  
  <pre><code>def stream_initialize(logfilepath):
      f = shim.stream_initialize
      arg = ct.c_char_p(logfilepath)
      result = f(arg)
  
      if result:
          print(find_shim_error(result))
  </code></pre>