Fix string shown for ./installed file if writing it fails - for CLI.

Same as the 0b665ca commit, only this fixes the CLI installer.