Modify elf_file::load so that it uses less memory
Modify elf_file::load so that it uses less memory

- elf_file::load reads headers incrementally using fseek
- elf_file::save closes file upon error

rv8-io/rv8,rv8-io/rv8,rv8-io/rv8