Avoiding double slash between IP address and file path.