Local dairy farms are downsizing and transitioning to direct-to-consumer sales as economic pressures reshape the industry.