Creates md5.json to cache md5 hashes of all files.