resources/elf: Fix style.
resources/pe: Remove generate & generateReader, as back-end dependent.