install: now properly displays unfinished lines

added stdout.flush() at some places
install: backup tar file paths are now more sensible