move rpcgen into pylib folder