Fixes for Python3 compatilibity
Fixes for Python3 compatilibity

Popen.communicate() needs a bytes string when using a PIPE, so we need
to encode() it.

signalfx/maestro-ng,signalfuse/maestro-ng,signalfx/maestro-ng,signalfuse/maestro-ng