Fixed bug in rename_bad_r_lc_file.