autocreate unexisting directories on save