serialized data can contain null bytes, store them in blob

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>