Fix one warning and printout in rpcgen, add *.h files to .gitignore so we're
not adding the generated RPC interfaces to git by chance.