Move all generates images to a subdirectory, and modify gen.py script to output images to subdirectory.