BUG: fix bug related to tmp folder not deleted (issue #51)
BUG: fix bug related to tmp folder not deleted (issue #51)

Former-commit-id: 032c238d4479be7283cd40ca5537b235b831af59
Former-commit-id: 79b740e497352454fa5ff2ecb80ee7b67481b56d
3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox