build: add a script for generating Linksys factory images