fix(backend): only store raw value if type str
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.

jsocol/django-pymemcache