create dump dir correctly