add test for file:// rejection in curl codepath (mapserver/mapserver#4703)