That's because of cable capacitance and weak drive. The receiver has an open colector output (with internal 30k pullup). Although it can drive LOW at reasonable current, driving HIGH is only achieved through that 30k pullup. Include cable capacitance and you get slow rising edge (capacitance is being charged through pullup and it takes time).
If you use long cables, either use low value pullup, like 2.2k or even less, or add a buffer to drive a cable (cmos output logic gate should do fine, may need to include small series resistor to reduce ringing like 56R or so).
Edit: Oh, and you should really add some supply bypass capacitor directly on your TSOP4838 pins. Be careful with ceramics though. They may cause voltage overshoots and damage the IC if long cables are used. You want some ESR here. So small electrolytic (like 4.7u) plus a small ceramic is ideal. You can also use just a ceramic, but add a small series resistor like 1-3 Ohms.