Proposed fix for issue #2

Matt, I incorporated the sed script mentioned in a previous comment, which works for the svn diff file that had issues.