Add checksum calculation and actually writing a valid eeprom file