Prefix the generated files names with the image prefix

Determined from the starting directory name