Also run the `brew upgrade` command under the brew user.
Use more one-liners now that we don't have to worry about `set -e`.
Changed download_patches to replace URLs in $PATCHES with paths.