Make state directory before any action.