On python3, use bytes for reading and applying the patch file, rather
than str. This fixes encoding issues when applying patches with
python3.X (reported by zturner).
Also, simplify the "svn update" call, by using svn's "--parents" flag,
instead of manually computing and supplying the list of parent
directories.
Don't we still need this line? When I wrote this patch, it was because after experimenting I found that subprocess.Popen would with universal_newlines=False unless stdin was a bytes.