JBIDE-13868 archives readwrite maintenance

Bug in reading already-created .packages files. Pretty big.