patches.py: Set umask for all commands

Ensure that the umask is set correctly before performing the
operations of apply-patches, update-patch, remove-patch,
update-next-patches, and finalize-next-patches.

Bug: T401672

Merge request reports

Loading