Use QSaveFile to save cookies