Work around a bug in NamedTemporaryFile(). (RhBug:1036116)
doc: Document packages replacement command.
doc: update the --allowerasing comment.