[cache_dump/restore] Use base64 encoding for the hints
[caching/xml_format] hints weren't being indented
[caching/hint_array] resize the destination before unpacking a hint
[caching/metadata] setup the hint array when reopening metadata
[caching/metadata_dump] valid_blocks should have been passed by reference