Dirs autocreation fix.