improved LUT WriteToURL error handling