venti/mgr: various fixes and plan 9 support

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5421047
1 file changed