Fixup writing of newlines and done to make output consistent and sensible

Updating ExtensionMessages-1.22wmf8.php...

Updating LocalisationCache for 1.22wmf8... done

becomes

Updating ExtensionMessages-1.22wmf8.php... done
Updating LocalisationCache for 1.22wmf8... done

Change-Id: Ic5e8f37975a8826482494a72fd0f3b35ce5d82cb