n7000: update extract script

Change-Id: Ie574a1ffea12f9bfc37f8740f99e4bfdc1398acb
Merge remote-tracking branch 'upstream/cm-10.1' into HEAD