v3.4.2 Slight bug fix to re-writing the csv for failed files