support for binary strings (python2) / byte arrays (python3); thanks to Hans-Andreas Engel for pointers