Remove a bunch of stuff around the edges of the ELF writer.