rmdir before replacing fresh dir in fingerprint.rs

Remove directory before replacing fresh old directories in fingerprint.rs.
Fixes #227