fixed issues with MalformedCSVError and added processed and error_report files to the metadata