fix(backend): only store raw value if type str

pymemcache encodes values to ascii before storing them and will break if
there are any bytes it can't decode.
Merge pull request #5 from oremj/fix_serialization

fix(backend): only store raw value if type str