mkdir out and info dirs if the don't exist