fix download IMS truncation (Bug#736962)