if output folder non-existent, create it