Get rid of 512k static size buffer in generateFingerprint()

* also move to guava sha1 invocation variant, which simplifies the code
* fixed typo in test case
* full test coverage