Modified ESGF script for downloading file using cookies.