installer: Ensure .crouton-targets is correct

Generate the file in a temp folder, and copy it over when the
installer starts.