Have curl non-silently fail when getting an HTTP error