Fix undefined local variable amount_of_retries for ViddlRb::DownloadHelper