Add functions for generating and checking trees with md5sum.