fix tmp progress-file rename on windows