create directory for templates to be generated in if it doesnt exist