Extract out parsing proto file logic from ProtobufGen

Again, I think we could turn three calls to log.warn() into a single message.