Thanks Ray. I did it the simple way, removing the end of record line from sketch hex and attaching the bootloader in the end. This may get complicated when I cross some 64KB boundaries in some projects.
Next step, adapt Nick's code to program the High fuse to D8 instead of D9. His program doesn't recognize the bootloader appended to a regular sketch hex, not yet.