[Freesurfer] Downsampling data and writing mgh file