Added replacing multiple / with a single one

The client fails when the requested path contains a sequence of multiple / characters. This is, however, supported by the vanilla hadoop cli client.