Labs NFS: Minor fixes to maintain-replicas

Fix some URL canonicalization and performance tweaks suggested
by springle.

Change-Id: I3cebceb83fef324553e34d6fc695e018eed2a91f