Improve firefox cookie reader error handling