Auto create the output folder if not exists