Update extract-files.sh to allow pulling from disk (factory images)