Add a defer for files download on iOS

surprising helps us to fight the iOS rate-limiting back!