fixed stupid (and very old!) mistake causing 100 seconds hang ups on windows when file rename fails.