Infrared open path detector