intg: Use bytes as input in ctypes
Python module ctypes directly uses C functions
and C functions expect "char *" as a string and not pointer
to wide characters "wchar *".
Reviewed-by: Martin Basti <mbasti@redhat.com>
(cherry picked from commit 19398379a221a11755c77bb157864dfa9f465488)