CWS: use cmscommon.archive when suitable