galaxys2-common: update extract script