Do the same replacements here as in `mopidy-daemon.default`.