Create a checksums file for a directory.