Cleaner interface for SSDeep

Made a buf helper method and made both public.