Make sure that buffer string interface is 8-bit clean.

Use std::vector<char> rather than std::string to pass data to
and from Python, and provide typemaps to use the 'bytes' type
in Python 3 rather than a conventional (Unicode) string.