FolderMemoryCard: Add method to calculate ECC.