Make the output directory if missing.