I’m writing a Python app that runs a command on an AWS remote docker container, and saves the output to a file. The command that is being run remotely is generating binary data (a database dump). The app works great if I start the download and don’t touch anything. The issue I’m having is that if I start the download,