use encoding/gob instead of encoding/asn1 for archive files