There are three distinct problems to possibly solve:
At the very least, the first two are worth solving. This would allow us to drop the dependency on rpcgen (and trivially resolve #17).