Deal with pages with / in page name
Script tries to make a file with / in filename, which breaks.
1) make directories to make it work
2) make filename from pagename function (shared) to
replace with _ or some such
Latter is preferred, (need similar one to get clean page name for redmine.?)