Update extract_firmware.py

cosmetic changes