Download a dynamic file like ajax.