Add screenshot extraction to the extension build process.