BUG: unfixed problem with sct_process_segmentation (output file has two times same extension).