Wait for binary download file to close before resolving `downloadBinary` (#261)
Wait for binary download file to close before resolving `downloadBinary` (#261)

The finish event informs listeners that `stream.end` has been called and all
data has been flushed to disk, however the file may still be open. In some cases
this may cause an ETXTBSY error to be thrown when the file is subsequently
executed to check its version.
getsentry/sentry-cli,getsentry/sentry-cli,getsentry/sentry-cli