Treat encrypted attributes as bytestrings to avoid UTF-8 decoding errors.