The Swift capture of a long X-ray burst from XTE J1701−407