fixup! generate.password: Strip new lines from the password file
Strip earlier, as stripping so late leads to correct self.passwd but incorrect passwd, thus 3rd party applications storing passwords with additional newlines are still resulting in bad passwords.