Make sure that the path to the given file name exists (and create directories as necessary).
See Implementation
Make sure that the path to the given file name exists (and create directories as necessary).