Revert to const reference. Refs #9084.

- Passing by value does not work on windows when setting the endpoint inside `setICATProxySettings` in `ICat4Catalog`.
Fix download and upload on windows. Refs #9084.