Update extract-files script

Change-Id: Ibe10cd5ad9efa28c3dda4cbbfde234aedccec407