Explicitly case serialized classes to bytestrings before loading them.
Merge pull request #3 from kacarstensen-shift/master

Explicitly case serialized classes to bytestrings before loading them.