Fixed problem creating full dirs