Error generating thumbnail: Invalid file path.