BUG: fixed bug related to file renaming on t1 section
BUG: fixed bug related to file renaming on t1 section

Former-commit-id: 430f58fcd1e69a4dca68eb1b932cf4e4d702c1ef
Former-commit-id: fd1f312c1b34c31c05097c5515e56363db35d921
3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox