Handle internal and external streams in download controller