Implement writing of firmware, infopage and nvm

Saving of data changed from a simple hex to Intel Hex to enable easy read and
write of the data with no need for external translation.