Update sources.
Also fix an issue where irregular newlines broke the update script.