cgi-io: iron out extra compiler warnings