Corrected export_txt.