Fixed issue with multiple downloads and missing content-length headers