Two simple bugfixes

Eeprom_export ignores errors from eeprom_read and eeprom_{export,import} fail on incomplete reads/writes to files. This fixes both of these problems. Unfortunately I couldn't really test the utlity apart from checking that it does compile.