lp#809540: quote replacement values properly in maintain_901()