Added decode_fingerprint function to detect bad format fingerprints