Let parse_patch take a string instead of a file parameter

No match.