FileInput: Reliably check for undefined in disable().