get the shasum for a directory