Fixes path mkdir at start