RF: python 3 fixes for openers test

Make bytes / strings explicit.  gzip doesn't appear to allow opening for
read in text mode in Python 3.