Fix a problem occurred in the conversion to Python 3

The output of subprocess.Popen.communicate are in Python 3 a
stream of bytes.
example.py: improve use of argparse