In some clients there is a pattern of using tempfile.NamedTemporaryFile with delete=False followed by os.remove. This does not effectively utilize the power of tempfile and can leave behind pretty large temporary files when there is a client failure.