[OS-BUILD PATCHv3 2/5] redhat: automatically strip newlines in merge.py