[makeself] generate default `makeselfinst` script

The logic to copy a self-extracting archive’s file into place is general
enough to be shared among projects.