Create state directory if missing

When running dockercook for the first time, the default state directory may be missing. Create it if necessary.