extract MD5sum handling using TokyoCabinet