Function for downloading files that supports from/to range requests(Partial Content) with additional headers.