ENH: update rigid.sh, make_rigid_mask.sh, util.sh
ENH: Make mask.sh accept any file format inputs