swig wrapper: Fix handling of binary strings in ftdi_write_data() for python 3