Enforce non-unicode format for octet strings

The methods for getting octet strings should not return unicode strings. Not
explicitly returning a string can result in a later concatenation of unicode
and non-unicode strings - which will fail.