RF+NF: add keep_extensions as an optional argument in map2nifti