changes to get mkdir_all working more like mkdir -p