Deal with lack of `buffer` in py3
Merge pull request #12 from msabramo/buffer_memoryview_py3

Deal with lack of `buffer` in py3