code: def save_hashes(hashes, filename):
      
      with open(filename, 'w') as cython_hash_file:
          for key, value in hashes.items():
              cython_hash_file.write("%s %s %s %s\n"
                                     % (key, value[0], value[1], value[2]))
docs: Save the hashes dict to the hashfile