Rewrite fixpatch and newcvsroot as portable shell scripts.
