Temporary workaround for string to bytes conversion in pyffi.