mk output dir if it doesn't exist