Python 3 unicode versus byte test fixes

ContentID tests that actually mocked out file reading need to be
smart about using the correct type for binary input.  Convert
tests to use b'_something_' as the mocked return for read() so
that it works in python2 and python3