fetch_file_contents: do not set referrer when using curl