tweak python version detection, add Datamatch.binary()

Also no longer misuse swig's cdata typemap.