### Is your feature request related to a problem? Please describe.

-path currently chokes if the destination location doesn't exist.

`mogrify.exe -format tif -path ..\new_dir pngs\*.png`
`mogrify.exe: unable to open image '..\new_dir\0.tif': No such file or directory @ error/blob.c/OpenBlob/3571.`

### Describe the solution you'd like

It should create any directories needed, as specified in the argument.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_
Have -path create any needed directories rather than throwing an error.
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Have -path create any needed directories rather than throwing an error.
Issue date:

--- start body ---
### Is your feature request related to a problem? Please describe.

-path currently chokes if the destination location doesn't exist.

`mogrify.exe -format tif -path ..\new_dir pngs\*.png`
`mogrify.exe: unable to open image '..\new_dir\0.tif': No such file or directory @ error/blob.c/OpenBlob/3571.`

### Describe the solution you'd like

It should create any directories needed, as specified in the argument.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_
--- end body ---

None