Extract out parsing proto file logic from ProtobufGen

We could log this all as a single message.