All the functions in this package already create said files/directories. This might not be desired, e.g. when the temp filename is the destination of an atomic move operation.
Don't babysit users.
I'm not trying to. I'm trying to not add stuff to the API that's broken majority of the time.
The only babysitting happening is addition of this basically trivial function for no good reason.
The filesystem is a shared resource, half of the functions in directory are non-atomic. base can leak file handles etc etc.
"Other things are broken so let's make it even worse"?