Running glab securefile download --path /somewhere errors on parent

When using the glab securefile download command, with --path , i run into an error relating to "escaping from parent"

$ glab securefile download --name myfile --path /tmp/test
$ glab securefile download SOMEID --path /tmp/test
Error creating directory: mkdirat /tmp: path escapes from parent.

Is it the job of the CLI to create the directory? I personally don't believe it should attempt to create the directory, as given the following:

$ glab securefile download --name wow --path ./some/path/that/dont/exist/wow

Will create some/path/that/dont/exist/wow , prehaps the "escapes from parent" can be ignored?

@timofurrer (i'm actively implementing glab securefile download --name in place of curl which put some stuff into /tmp )