Implemented dump to hex file.