Added base64/compress on histo i/o