Add sanity check to extract-files.sh