Downloading a file fails when the file already exists, e.g.
> dir
_1_stdout.txt
[other files]
import sevenbridges as sbg
file_ = sbg.files.query(project=<project name>, names=["_1_stdout.txt"])[0]
file_.download(path="_1_stdout.txt", overwrite=True)
results in an error,
FileExistsError: [WinError 183] Cannot create a file when that file already exists: '_1_stdout.txt.6414302349' -> '_1_stdout.txt'