OC-9173: remote_file fails on windows when source is a long URL