Added base64 encoding for dependency tree HDF attribute

Avoids 'ValueError: VLEN strings do not support embedded NULLs' when compressed data included null characters.