Parse patch files containing unified and standard diffs
