patchupdate.py: Ensure that patchlist data is properly escaped.