gp-118 - temp file + rename is used when archiving