Save and restore dictionaries and tesseract langpacks on update