Create directories up to filename. Input: name path/filename
0 success !=0 failure
See Implementation
Create directories up to filename. Input: name path/filename