Hide sed expressions in manbuild

Take the list of replacements as var=value pairs instead of sed arguments.
This hides the expressions and the '__' prefixes and suffixes to variables,
which in turn guarantees that our validate_file function is searching for
the right substrings.