fix for ico ext in gen_file
Merge branch 'enh/freesurfer' into testing_tmp

* enh/freesurfer:
  fix for ico ext in gen_file