Fix arguments to fopen

The stream context needs to be the 4th argument; the 3rd argument
is use_include_path, which we can set to false, as we are always
fetching from remote locations with HttpClient.