[py3] backport_pr: read patch as bytes

when it comes from a file