Call "patch" with the -f option, and handle an error condition