ucgi/: Return useful status codes when things go wrong.