bring control script in line with py3
fix: py3.1 requires bytes string, not bytearray