Update checksum.rb

Fixes the fact that every checksum is new and the intend of getting identical checksums for identical input data was never possible as the string holding the data was never cleared. It also fixes a potential out of memory issue if this is used on too many items the string would have outgrown every system...