You want a TSOP4038, that is designed for light barriers and does not have a maximum / minimum pulse requirement.