fix tmp progress-file rename on windows

On windows os.rename can't overwrite an existing file.
We must delete the progress_store file before rename the progress_store.tmp file.