Anomalies, Geometry, and Hydrodynamics