Fix unit tests that used old signature for add_fingerprint_to_dir