How a New York museum inadvertently built one of the largest archives of Indian cinema