If generatedImages folder doesn't exist, print error and create it