Bulk update (incomplete) from protobuf to capnproto
typo
Factor out template read_from_packed_file
Update blockreader to capnproto