fix global_md5 generator and save_snapshot method
fix DirSnapshotManager test
fix DirectoryEventHandler test