Clean up ELF and HEX format readers.