Detecting and preventing contamination of dairy cattle feed