file_serving: avoid rewriting paths if possible.
A trivial change - only rewrite from '//' to '/', rather than from '/+' -
means that we can reduce the garbage generation in this
function substantially. Most paths now pass through unmodified.
Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>