Fix for resumable download when the server does not understand the Range header