Updated version of pycombine to maintain original line-endings